﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MessageBoard.aspx.cs" Inherits="wall.MessageBoard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>留言板</h2>
    <asp:GridView ID="gvMessages" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="ID" />
            <asp:BoundField DataField="Username" HeaderText="用户名" />
            <asp:BoundField DataField="Message" HeaderText="留言" />
            <asp:BoundField DataField="DatePosted" HeaderText="日期" />
            <asp:BoundField DataField="AdminReply" HeaderText="管理员回复" />
        </Columns>
    </asp:GridView>
</asp:Content>